actor Cybruiser : BaronOfHell_2
{
  obituary "%o was blown away by a Cybruiser."
  hitobituary "%o was smashed by a Cybruiser."
  health 1400
  radius 24
  height 64
  mass 1000
  speed 8
  painchance 20
  meleedamage 10
  seesound "monster/brusit"
  painsound "baron/pain"
  deathsound "monster/brudth"
  activesound "baron/active"
  MONSTER
  +FLOORCLIP
  +MISSILEMORE
  +NOBLOOD
  damagefactor "BaronBall", 0.0
  DropItem "SoulSphere2" 128
  DropItem "RocketAmmo_2"
  states
  {
  Spawn:
    POSS A 0 
    POSS A 0 Thing_SetSpecial(0,226,613,0,random(70,100))
    POSS A 0 A_GiveInventory("XPAmount", random(70, 100))
    POSS P 0 ACS_ExecuteAlways(651,0,0,0,0)
    BRUS AB 10 A_Look
    goto Spawn+4
  See:
    BRUS A 1 A_Playsound("monster/bruwlk")
    BRUS A 2 A_Chase
    BRUS A 3 A_Chase
    BRUS BB 3 A_Chase
    BRUS C 1 A_Playsound("monster/bruwlk")
    BRUS C 2 A_Chase
    BRUS C 3 A_Chase 
    BRUS DD 3 A_Chase
    Loop 
  Missile:    
    BRUS E 8 A_FaceTarget 
    BRUS F 6 Bright A_CustomMissile("BaronEightballMissile",38,15,0,0)
    BRUS E 6 A_FaceTarget
    BRUS F 6 Bright A_CustomMissile("BaronEightballMissile",38,15,0,0)
    BRUS E 6 A_FaceTarget
    BRUS F 6 Bright A_CustomMissile("BaronEightballMissile",38,15,0,0)
    BRUS E 6 A_FaceTarget
    BRUS F 6 Bright A_CustomMissile("BaronEightballMissile",38,15,0,0)
    BRUS E 6 A_FaceTarget
    BRUS F 6 Bright A_CustomMissile("BaronEightballMissile",38,15,0,0)
    BRUS E 6 A_FaceTarget
    BRUS F 6 Bright A_CustomMissile("BaronEightballMissile",38,15,0,0)    
    goto See
  Melee:
    BRUS GH 8 A_FaceTarget
    BRUS I 8 A_CustomComboAttack("BlueBaronBall",32,(10*random(1,5)),"skeleton/melee")
    goto See
  Pain:
    BRUS H 2
    BRUS H 2 A_Pain
	TNT1 G 0 A_AlertMonsters
    goto See
  Death: 
    BRUS K 6 Bright A_Scream
    BRUS LMN 6 Bright
    BRUS N 0 ACS_ExecuteAlways(648,0,0,0,0)
    BRUS O 6 Bright A_NoBlocking
    BRUS PPQQRRSS 3 Bright A_SpawnItemEx("HealthBonus",0,0,0,random(-2,2),random(-2,2),random(1,4),0,0,0)
    BRUS T -1 A_BossDeath
    stop
  Raise:
    BRUS TSRQPONMLK 8
    goto See
  }
}

actor BaronEightballMissile : RevenantEightballMissile 
{
  obituary "%o was blown away by a Cybruiser."
  radius 8
  height 8
  speed 18
  damage (20)
  seesound "skeleton/attack"
  deathsound "generic/explosion"
  PROJECTILE
  scale 0.6
  -SEEKERMISSILE
  damageType "BaronBall"
  states
  {
  Death:
    TNT1 A 0 A_Explode(10,128)
    TNT1 A 5 A_SpawnItemEx("ExplosionMain", 0, 0, 0, 0, 0, 0, 0, 128, 0)
	TNT1 G 0 A_AlertMonsters
    stop
  }
}
